<ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
    {foreach $menu as $rule}
    <li data-name="component" class="layui-nav-item">
        <a href="javascript:;" lay-tips="{$rule.name||default=''}" lay-direction="2">
            <cite>{$rule.name||default=''}</cite>
        </a>
        <dl class="layui-nav-child">
            <!-- <dd data-name="grid">
                <a href="javascript:;">栅格</a>
                <dl class="layui-nav-child">
                    <dd data-name="list"><a lay-href="component/grid/list.html">等比例列表排列</a></dd>
                    <dd data-name="mobile"><a lay-href="component/grid/mobile.html">按移动端排列</a></dd>
                    <dd data-name="mobile-pc"><a lay-href="component/grid/mobile-pc.html">移动桌面端组合</a></dd>
                    <dd data-name="all"><a lay-href="component/grid/all.html">全端复杂组合</a></dd>
                    <dd data-name="stack"><a lay-href="component/grid/stack.html">低于桌面堆叠排列</a></dd>
                    <dd data-name="speed-dial"><a lay-href="component/grid/speed-dial.html">九宫格</a>
                    </dd>
                </dl>
            </dd> -->
            {foreach $rule.sub as $child}
            {if $child.show == true}
            <dd data-name="button">
                <a lay-href="{$child.uri}">{$child.name}</a>
            </dd>
            {/if}
            {/foreach}
        </dl>
    </li>
    {/foreach}
</ul>